<html>

<head>
	<title>次元数字档案管理平台</title>
	<link rel="stylesheet" type="text/css" href="/assets/css/css.css">
	<link rel="stylesheet" type="text/css" href="/assets/css/reset.css">
	<link rel="stylesheet" href="/assets/js/css/layui.css">
	<link rel="stylesheet" type="text/css" href="/assets/css/file.css">


</head>

<body>
	<div class="iframe_box">

		<div class="iframe_left file_iframe_left">
			<div class="iframe_left_list">
				<div class="list_top">档案库列表 <button type="button" id="add-one-menu" class="layui-btn  layui-btn-xs">新增目录</button></div>

				<div id="side-menu"></div>
			</div>
		</div>

		<iframe class="right-iframe" id="inner_iframe" name="iframe_right" frameborder="0" src="/null"></iframe>
		<div class="clear"></div>
	</div>
	<!--新增节点-->
	<div id="add-node" class="layui-fluid" style="display: none;">
		<form class="layui-form" id="add-form" lay-filter="add-form">
			<input type="text" name="direId" style="display:none;" class="layui-input">
			<input type="text" name="code" style="display:none;" class="layui-input">
			<div class="layui-form-item">
				<label class="layui-form-label">名称</label>
				<div class="layui-input-inline">
					<input type="text" name="name" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">排序值</label>
				<div class="layui-input-inline">
					<input type="text" name="sort" class="layui-input" placeholder="请输入数字" autocomplete="off"
						   oninput="this.value = this.value.replace(/[^\d]/g,'')">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">创建类型</label>
				<div class="layui-input-block">
					<input type="radio" name="whet" value="true" title="目录">
					<input type="radio" name="whet" value="false" title="文件" checked>
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-input-block">
					<button class="layui-btn" lay-submit lay-filter="addNode" title="提交后会刷新当前页面">提交</button>
				</div>
			</div>
		</form>
	</div>

	<!--修改节点-->
	<div id="update-node" class="layui-fluid" style="display: none;">
		<form class="layui-form" id="update-form" lay-filter="update-form">
            <input type="text" name="oneId" style="display:none;" class="layui-input">
			<input type="text" name="id" style="display:none;" class="layui-input">
			<input type="text" name="code" style="display:none;" class="layui-input">
			<div class="layui-form-item">
				<label class="layui-form-label">名称</label>
				<div class="layui-input-inline">
					<input type="text" name="name" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item" id="sort_menu">
				<label class="layui-form-label">排序值</label>
				<div class="layui-input-inline">
					<input type="text" name="sort" class="layui-input" placeholder="请输入数字" autocomplete="off"
						   oninput="this.value = this.value.replace(/[^\d]/g,'')">
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-input-block">
					<button class="layui-btn" lay-submit lay-filter="updateNode">保存</button>
				</div>
			</div>
		</form>
	</div>

	<!--新增档案类型-->
	<div id="add-one-node" class="layui-fluid" style="display: none;">
		<form class="layui-form" id="add-one-form" lay-filter="add-one-form">
			<div class="layui-form-item">
				<label class="layui-form-label">唯一码</label>
				<div class="layui-input-inline">
					<input type="text" name="code" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">名称</label>
				<div class="layui-input-inline">
					<input type="text" name="name" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">盒名称</label>
				<div class="layui-input-inline">
					<input type="text" name="boxName" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">是否盒模式</label>
				<div class="layui-input-inline">
					<select name="boxMode">
						<option value="0">否</option>
						<option value="1">是</option>
					</select>
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">整理模式</label>
				<div class="layui-input-inline">
					<select name="finisMode">
						<option value="1">自动</option>
						<option value="0">手动</option>
					</select>
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">档案来源</label>
				<div class="layui-input-inline">
					<input type="text" name="source" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">备注</label>
				<div class="layui-input-inline">
					<input type="text" name="remarks" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">创建类型</label>
				<div class="layui-input-block">
					<input type="radio" name="type" value="0" title="一文一件">
					<input type="radio" name="type" value="1" title="案卷" checked>
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-input-block">
					<button class="layui-btn" lay-submit lay-filter="addOneNode">保存</button>
				</div>
			</div>
		</form>
	</div>




</body>

</html>
<script src="/assets/js/layui.js?v=1"></script>
<script src="/assets/js/file/index.js"></script>